package com.lfy.kcat.user.exception;

/**
 *   1xxxx: 用户错误
 *   2xxxx；内容服务错误
 *   3xxxx：系统错误
 */
public enum UserServiceExceptionEnume {
    VERIFY_CODE_ERROR(10001,"验证码错误"),
    USER_NOT_EXIST(10002, "用户不存在");

    private final int code;
    private final String message;

    UserServiceExceptionEnume(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
